//
//  Define.h
//  LiWuShuo
//
//  Created by 袁小航 on 14/11/13.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>

#define MAINVIEW_WIDTH self.bounds.size.width
#define MAINVIEW_HEIGHT self.bounds.size.height

#define MAIN_SCREEN_WIDTH self.view.bounds.size.width
#define MAIN_SCREEN_HEIGHT self.view.bounds.size.height

#define ROOT_SEL_SCROLL_HEIGHT self.view.bounds.size.height / 4.5

#define TYPE_PH_PERSON_HEIGHT (self.view.bounds.size.width / 3.2 + (self.view.bounds.size.width / 32 * 3))
#define TYPE_TOP_ALLTYPE_HEIGHT self.view.bounds.size.height / 7.1
#define TYPE_HEIGHT 110

#define USERVIEW_CELL_HEIGHT 88


#define PRO_IMAGE_WIDTH self.bounds.size.width
#define PRO_IMAGE_HEIGHT self.bounds.size.height
#define PRO_INFOLABEL_Height self.bounds.size.height / 4.8
#define PRO_COLLECT_X self.bounds.size.width * 0.82
#define PRO_COLLECT_Y self.bounds.size.height / 20
#define PRO_COLLECT_HEIGHT self.bounds.size.height / 7

#define SEL_SCROLL_HEIGHT self.bounds.size.height / 4.5
#define SELVIEW_SCROLL_HEIGHT self.view.bounds.size.height / 4
#define SEL_PAGE_HEIGHT SEL_SCROLL_HEIGHT / 6

#define PRO_BUTTON_X self.bounds.size.height * 0.1
#define PRO_BUTTON_HEIGHT self.bounds.size.height * 0.78
#define PRO_BUTTON_WIDTH self.bounds.size.width * 0.35

//___________________________________________________________________________
#define TYPE_TOPIC_WIDTH self.bounds.size.width / 2.4
#define TYPE_TOPIC_HEIGHT self.bounds.size.height * 1.5

//___________________________________________________________________________

#define TYPE_PH_ITEM_WIDTH self.bounds.size.width / 4.5
#define TYPE_PH_ITEM_HEIGHT self.bounds.size.width / 3.2
#define TYPE_PH_IMAGE_WIDTH self.bounds.size.width
#define TYPE_PH_NAME_HEIGHT self.bounds.size.width /4
#define TYPE_PH_INSET_LEFT self.bounds.size.width / 16
#define TYPE_PH_INSET_TOP self.bounds.size.width / 32

//___________________________________________________________________________

#define USER_MAIN_WIDTH self.bounds.size.width 
#define USER_CELL_IMAGE_HEIGHT self.bounds.size.height * 1.5
#define USER_CELL_IMAGE_WIDTH self.bounds.size.width * 0.3
#define USER_CELL_HEIGHT self.bounds.size.height * 2

#define USER_DETAIL_HIGHT 130  // 显示图片的高度
#define USER_FINAL_HIGHT 64    // 上拉滑动最终留下的显示图片高度
#define USER_IMAGEVIEW_ORIGIN_Y -60  // 图片的实际起点纵坐标
#define USER_IMAGEVIEW_ORIGIN_HEITH 250  // 图片的实际高度

//___________________________________________________________________________

#define DET_DETAIL_HIGHT 120  // 显示图片的高度
#define DET_FINAL_HIGHT 64    // 上拉滑动最终留下的显示图片高度
#define DET_IMAGEVIEW_ORIGIN_Y -20  // 图片的实际起点纵坐标
#define DET_IMAGEVIEW_ORIGIN_HEITH 300   //图片的实际高度
#define DET_CONTENT_Y -140    //content.origin.y 的临界数值
#define DET_BACK_BUTTON_X 15     // 返回按钮的x
#define DET_BACK_BUTTON_Y 30     // 返回按钮的y
#define DET_BACK_BUTTON_WIDTH 25     // 返回按钮的宽
#define DET_TAB_COLBUTTON_X (self.bounds.size.width / 2 - 30) / 2  //伪TabBar上的收藏X




@interface Define : NSObject

@end
